Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FE issues - texts, translations, styles #1777

Merged
merged 10 commits into from
May 21, 2024
Merged

Conversation

ani-kalpachka
Copy link
Member

No description provided.

@ani-kalpachka ani-kalpachka changed the title Add FE changes - initial changes Fix FE issues - texts, translations May 14, 2024
@ani-kalpachka ani-kalpachka changed the title Fix FE issues - texts, translations Fix FE issues - texts, translations, styles May 15, 2024
@@ -162,7 +162,7 @@ export default function CampaignNewsSection({ campaign, canCreateArticle }: Prop
const { t, i18n } = useTranslation('news')
const { small }: { small: boolean } = useMobile()

const INITIAL_HEIGHT_LIMIT = 200
const INITIAL_HEIGHT_LIMIT = 203
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be reverted.
The issue #1781 will be resolved in #1787

@@ -4,7 +4,7 @@ import { serverSideTranslations } from 'next-i18next/serverSideTranslations'

export const getStaticProps: GetStaticProps = async ({ locale }) => ({
props: {
...(await serverSideTranslations(locale ?? 'bg', ['common'])),
...(await serverSideTranslations(locale ?? 'bg', ['common', 'validation', 'auth'])),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validation namespace doesn't seem to be needed.
If this change is regarding the missing translations of subscription modal, consider adding translations to those fields in the common namespace. Otherwise we would need to visit page by page, to see whether that particular page imports the auth namespace, as the subscription modal is available to all pages thru the footer.

@ani-kalpachka ani-kalpachka merged commit addc724 into master May 21, 2024
10 checks passed
@ani-kalpachka ani-kalpachka deleted the add-fe-fixes branch May 21, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants